lcBlockAddMText | Home |
HANDLE lcBlockAddMText ( HANDLE hBlock, LPCWSTR szText, double X, double Y, double WrapWidth, int Align, double RotAngle, double Height, double WScale ); |
hBlock | |
Handle to a block. | |
szText | |
Text string. It can contain formatting codes which allow to set different fonts, characters height and colors within one text object. | |
X Y | |
Coordinates of a multiline text insertion point. | |
WrapWidth | |
Max width of the text bounding rectangle. | |
Align | |
Text alignment relative to the insertion point. | |
RotAngle | |
Rotation angle. | |
Height | |
Text height, in drawing units. | |
WScale | |
Text width factor (horizontal scale). |
Handle to created Multiline Text object or NULL if the function fails. |
Code sample, Text style |